package model

import "gorm.io/gorm"

type Attribute struct {
	gorm.Model
	Title  string `gorm:"column:title;type:varchar(50);not null" json:"title"`
	Info   string `gorm:"column:info;type:varchar(50)" json:"info"`
	Status int    `gorm:"column:status;type:tinyint(1);not null" json:"status"`
}

func (Attribute) TableName() string {
	return "attribute"
}
